package ar.org.cfired.creditos;
import ar.org.cfired.creditos.gui.ContenedorObservaciones;
public class PruebaObs {
public static void main (String args[]) {
	String executionID = "Creditos.1234.2345.22";
	System.out.println( executionID.substring(0, (executionID.lastIndexOf("."))) + "%" );
	String e = executionID;
	
	if (executionID.indexOf(".") < executionID.length())
		System.out.println(executionID.substring(executionID.indexOf(".")+1) + "!!");
	System.out.println( executionID.indexOf(".")  + "<" + executionID.length());
	
	
	while (executionID.contains(".")) {
		e = executionID;
		executionID = executionID.substring(0, ( executionID.lastIndexOf(".") ));
	}
	System.out.println(e + "%");
	
	ContenedorObservaciones c = new ContenedorObservaciones();
	c.setUsuario("jtranier");
	c.setExecutionId("Creditos.7524.pppppp");
	try {
		System.out.println(c.toHtml());
	}
	catch (Exception ex){
		ex.printStackTrace();
	}
}
}
